﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ContactsManager.aspx.cs" Inherits="MS.InformationManagement.WP.Layouts.MS.InformationManagement.WP.ContactsManager" DynamicMasterPageFile="~masterurl/default.master" %>

<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">

</asp:Content>

<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
<link rel="stylesheet" type="text/css" href="/_layouts/INC/MS.InformationManagement/css/layoutInterna.css" />

<div class="form-container">
    <h3>Agregar contactos</h3>
    <div class="form-row">
        <div class="cell12">
            <asp:Label ID="lblTipoContacto" runat="server" Text="Tipo contacto" CssClass="label"></asp:Label>
            <asp:DropDownList ID="ddlTipoContacto" runat="server" OnSelectedIndexChanged="ChangeAction" CausesValidation="false" AutoPostBack="true">
                <asp:ListItem Text="Ciudadano" Value="1"/>
                <asp:ListItem Text="Empresa" Value="2"/>
            </asp:DropDownList>
        </div>
    </div>

    <%-- Generic Fields --%>
    <div class="form-row" runat="server" id="divId">
        <div class="cell12">
            <asp:Label ID="lblId" runat="server" Text="Cédula *" CssClass="label"></asp:Label>
            <asp:TextBox ID="txtId" MaxLength="20" runat="server" CssClass="uppercase"></asp:TextBox>
        </div>
    </div>

    <%-- People Fields --%>
    <div class="form-row" runat="server" id="divNames">
        <div class="cell12">
            <asp:Label ID="lblNames" runat="server" Text="Nombres *" CssClass="label"></asp:Label>
            <asp:TextBox ID="txtNames" MaxLength="30" runat="server" CssClass="uppercase"></asp:TextBox>
        </div>
    </div>
    <div class="form-row" runat="server" id="divFirstName">
        <div class="cell12">
            <asp:Label ID="lblFirstName" runat="server" Text="Primer apellido *" CssClass="label"></asp:Label>
            <asp:TextBox ID="txtFirstName" MaxLength="30" runat="server" CssClass="uppercase"></asp:TextBox>
        </div>
    </div>
    <div class="form-row" runat="server" id="divLastName">
        <div class="cell12">
            <asp:Label ID="lblLastName" runat="server" Text="Segundo apellido" CssClass="label"></asp:Label>
            <asp:TextBox ID="txtApellido" MaxLength="30" runat="server" CssClass="uppercase"></asp:TextBox>
        </div>
    </div>

    <%-- Entities Fields --%>
    <div class="form-row" runat="server" id="divBusinessName">
        <div class="cell12">
            <asp:Label ID="lblBusinessName" runat="server" Text="Razón social *" CssClass="label"></asp:Label>
            <asp:TextBox ID="txtBusinessName" MaxLength="70" runat="server" CssClass="uppercase"></asp:TextBox>
        </div>
    </div>
    <div class="form-row" runat="server" id="divRepresented">
        <div class="cell12">
            <asp:Label ID="lblRepresented" runat="server" Text="Representante *" CssClass="label"></asp:Label>
            <asp:TextBox ID="txtRepresented" MaxLength="70" runat="server" CssClass="uppercase"></asp:TextBox>
        </div>
    </div>
    <div class="form-row" runat="server" id="divSiglas">
        <div class="cell12">
            <asp:Label ID="lblSiglas" runat="server" Text="Siglas" CssClass="label"></asp:Label>
            <asp:TextBox ID="txtSiglas" runat="server" MaxLength="30" CssClass="uppercase"></asp:TextBox>
        </div>
    </div>

    <%-- Generic Fields --%>
    <div class="form-row" runat="server" id="divAddress">
        <div class="cell12">
            <asp:Label ID="lblAddress" runat="server" Text="Dirección *" CssClass="label"></asp:Label>
            <asp:TextBox ID="txtAddress" runat="server" MaxLength="70" CssClass="uppercase"></asp:TextBox>
        </div>
    </div>
    <div class="form-row" runat="server" id="divPhone">
        <div class="cell12">
            <asp:Label ID="lblPhone" runat="server" Text="Teléfono " CssClass="label"></asp:Label>
            <asp:TextBox ID="txtTelefono" MaxLength="20" runat="server" CssClass="uppercase"></asp:TextBox>
        </div>
    </div>
    <div class="form-row" runat="server" id="divEmail">
        <div class="cell12">
            <asp:Label ID="lblEmail" runat="server" Text="Email " CssClass="label"></asp:Label>
            <asp:TextBox ID="txtEmail" runat="server" MaxLength="50" CssClass="uppercase"></asp:TextBox>
        </div>
    </div>
    <div class="form-row">
        <div class="Radicado-Interno-TRD"> 
            <div class="cell12 actionBar aRight">
                <asp:Button ID="btnGuardar" runat="server" Text="Guardar" CssClass="button" CausesValidation="true" OnClick="Action_Save" />
                <asp:Button ID="btnCancelar" runat="server" Text="Cerrar" CssClass="button" CausesValidation="false" OnClick="Action_Cancel" />
           </div>
        </div>
    </div>
</div>
</asp:Content>

<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
Gesti&oacute;n contactos
</asp:Content>

<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server" >
Sistema de gesti&oacute;n documental
</asp:Content>
